Cross-architecture build fixes.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
#include <asm/uaccess.h>
#include <asm/mm.h>
#include <asm/debugger.h>
+#include <asm/io.h>
/* opt_console: comma-separated list of console outputs. */
static char opt_console[30] = OPT_CONSOLE_STR;
#include <xen/pci.h>
#include <xen/init.h>
#include <xen/delay.h>
-#include <asm/io_apic.h>
#undef DEBUG
#ifdef CONFIG_X86_IO_APIC
+#include <asm/io_apic.h>
+
/*
* VIA 686A/B: If an IO-APIC is active, we need to route all on-chip
* devices to the external APIC.